
const Koa = require('koa');
const app = new Koa();

app.use(async ctx => {
    ctx.body = 'Hello world!'
});

app.listen(3000, () => {
    console.log(`start at 3000`);
})

